package com.ruoyi.hospital.domain.hospital;

import com.ruoyi.common.core.domain.NewTreeEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;

/**
 * 医院科室对象 his_department
 * 
 * @author ruoyi
 * @date 2024-08-13
 */
public class HisDepartment extends NewTreeEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Integer id;

    /** 名称 */
    @Excel(name = "名称")
    private String depName;

    /** 编号 */
    @Excel(name = "编号")
    private String depNum;

    /** logo */
    @Excel(name = "logo")
    private String deLogo;

    /** 状态 */
    @Excel(name = "状态")
    private Integer depState;

    /** 挂号科室 */
    @Excel(name = "挂号科室")
    private Integer isRegister;

    /** 所属医院 */
    @Excel(name = "所属医院")
    private Integer hisId;

    private String remark;
    /** 删除时间 */
    private Integer deleteTime;

    @Override
    public String getRemark() {
        return remark;
    }

    @Override
    public void setRemark(String remark) {
        this.remark = remark;
    }

    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setDepName(String depName) 
    {
        this.depName = depName;
    }

    public String getDepName() 
    {
        return depName;
    }
    public void setDepNum(String depNum) 
    {
        this.depNum = depNum;
    }

    public String getDepNum() 
    {
        return depNum;
    }
    public void setDeLogo(String deLogo) 
    {
        this.deLogo = deLogo;
    }

    public String getDeLogo() 
    {
        return deLogo;
    }
    public void setDepState(Integer depState) 
    {
        this.depState = depState;
    }

    public Integer getDepState() 
    {
        return depState;
    }
    public void setIsRegister(Integer isRegister) 
    {
        this.isRegister = isRegister;
    }

    public Integer getIsRegister() 
    {
        return isRegister;
    }
    public void setHisId(Integer hisId) 
    {
        this.hisId = hisId;
    }

    public Integer getHisId() 
    {
        return hisId;
    }
    public void setDeleteTime(Integer deleteTime) 
    {
        this.deleteTime = deleteTime;
    }

    public Integer getDeleteTime() 
    {
        return deleteTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("depName", getDepName())
            .append("depNum", getDepNum())
            .append("deLogo", getDeLogo())
            .append("depState", getDepState())
            .append("isRegister", getIsRegister())
            .append("hisId", getHisId())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("deleteTime", getDeleteTime())
            //.append("parentId", getParentId())
            .toString();
    }
}
